package com.example.ieservice;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.View;

/**
 * Created by richard on 09/04/14.
 */
public class Row extends View
{
    public Row(Context context) {
        super(context);
    }


    public Row(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        setMeasuredDimension(200, 200);
    }

    @Override
    public void onDraw(Canvas canvas) {
        //Draw simple string as an example
        Paint paint = new Paint();
        paint.setColor(Color.BLACK);
        canvas.drawText("Text here...", 10, 10, paint);
    }
}
